/*
 * @Author: lihaha 11238063+caimei11@user.noreply.gitee.com
 * @Date: 2022-10-12 14:31:30
 * @LastEditors: lihaha 11238063+caimei11@user.noreply.gitee.com
 * @LastEditTime: 2022-10-16 19:55:00
 * @FilePath: \HeyTea_project\HeyTea-ui\src\api\article.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
// 资讯管理API
import { get, post } from '@/utils/request';
export function queryArticle(params) {
    return get('/article/pageQuery', params)
}

export function changeStatus(data) {
    return post('/article/changeStatus', data)
}
export function deleteById(id) {
    return get('/article/deleteById', id)
}

export function saveOrUpdate(data) {
    return post('/article/saveOrUpdate', data)
}